package com.haier.cre.commonframe.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;

/**
 * 项目名：CommonLibrary
 * 包 名：com.haier.cre.commonframe.base
 * 创建人：18002063
 * 日 期：2018/10/16
 * 简 述：lib Fragment的基类
 */
public class LibFragment extends Fragment {

    protected final String TAG = this.getClass().getSimpleName();

    /**
     * Fragment是否已经关闭,
     */
    protected boolean isFragmentFinish = false;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        isFragmentFinish = false;
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        isFragmentFinish = true;
    }
}
